package com.weipt.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;

/**
 * @author weipt
 * @description 订单实现类
 * @date 2024/1/20 22:42
 */
@Service
public class OrderService {

    @Autowired
    RestTemplate restTemplate;

    public void sendOrder() {
        restTemplate.getForObject("http://127.0.0.1:8080/", Object.class);

    }
}
